-- blood_shield
-- create by zhuangsl
-- 道具：  鲜血之瓶

return {
    apply = function(source, target, classId, value)
        local condition = CombatStatusM.queryCondition(target, "blood_shield") or {};

        -- 可以叠加的
        condition["shield"] = (condition["shield"] or 0) + tonumber(value);
        condition["shiled_type"] = "blood_shield";
        condition["end_round"]   = -1;

        CombatStatusM.applyStatus(target, "blood_shield", condition);
    end,
};
